$OpenBSD: patch-plugins_Makefile_in,v 1.3 2014/04/25 11:17:27 ajacoutot Exp $
--- plugins/Makefile.in.orig	Tue Sep  3 04:33:24 2013
+++ plugins/Makefile.in	Mon Sep 23 08:29:16 2013
@@ -50,6 +50,16 @@ DEFAULT_SOUND	= sound_esd
 endif
 endif
 
+###################################SNDIO
+HAS_SNDIO      = @HAS_SNDIO@
+
+ifeq (1,$(HAS_SNDIO))
+SUBDIRS += sound_sndio
+ifeq (,$(DEFAULT_SOUND))
+DEFAULT_SOUND  = sound_sndio
+endif
+endif
+
 #################################SundAudio
 HAS_SUNAUDIO = @HAS_SUNAUDIO@
 
